#ifndef PLAYER_H
#define PLAYER_H

#include <iostream>
#include <windows.h>
#include<queue>
#include<chrono>
#include<ctime>
#include<QString>
extern "C"
{
// 包含ffmpeg头文件
#include "libavutil/avutil.h"
#include"libavformat/avformat.h"
#include"libswscale/swscale.h"
#include"libswresample/swresample.h"
// 包含SDL头文件
#include"SDL.h"
}

class Player
{
public:
    Player();
    int start(QString fileName);
    void stop();
};

#endif // PLAYER_H
